package com.bjc.principle.builder.demo2;

import java.util.HashMap;

/**
 * @program: DesignPattern
 * @description:
 * @author: bjc
 * @create: 2020-12-16 21:55
 */
public class Test {

    public static void main(String[] args) {
        //服务员
        Worker worker = new Worker();
        Product product = worker.builderA("全家桶").builderB("鸡翅").getProduct();
        System.out.println(product);
    }
}
